
#ifndef OHOS_DEMO_OHOS_AUDIO_MANAGER_H
#define OHOS_DEMO_OHOS_AUDIO_MANAGER_H
#include "api/peer_connection_interface.h"
#include "sdk/ohos/ohos_audio_manager.h"

namespace ohosrtc {
class OHOSAudioManager {
  public:
    OHOSAudioManager(webrtc::PeerConnectionFactoryInterface *pc_factory, rtc::Thread *worker_thread);
    virtual ~OHOSAudioManager() = default;
    int32_t Mute();
    int32_t UnMute();
  
  private:
    std::unique_ptr<webrtc::OHOSAudioManager> audio_manager_;
};
}

#endif //OHOS_DEMO_OHOS_AUDIO_MANAGER_H
